package com.numberone.system.domain;


import com.numberone.common.base.BaseEntity;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 商品评价表 assess
 * 
 * @author numberone
 * @date 2020-10-13
 */
@Getter
@Setter
@Data
public class Assess extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 评价id */
	private Long id;
	/** 订单id */
	private Long orderId;
	/** 订单号 */
	private String orderNum;
	/** 快递包装评分 */
	private BigDecimal packagingScore;
	/** 送货速度评分 */
	private BigDecimal speedScore;
	/** 配送服务评分 */
	private BigDecimal serviceScore;
	/** 商品评分 */
	private BigDecimal goodScore;
	/** 评价内容 */
	private String content;
	/** 评价图 */
	private String img;
	/** 评价图 */
	private String img2;
	/** 评价图 */
	private String img3;
	/** 评价图 */
	private String img4;
	/** 评价图 */
	private String img5;
	/** 评价图 */
	private String img6;
	/** 评价图 */
	private String img7;
	/** 评价图 */
	private String img8;
	/** 评价图 */
	private String img9;
	/** 评价状态(0非匿名 1匿名) */
	private Integer status;

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("orderNum", getOrderNum())
            .append("packagingScore", getPackagingScore())
            .append("speedScore", getSpeedScore())
            .append("serviceScore", getServiceScore())
            .append("goodScore", getGoodScore())
            .append("content", getContent())
            .append("img", getImg())
            .append("img2", getImg2())
            .append("img3", getImg3())
            .append("img4", getImg4())
            .append("img5", getImg5())
            .append("img6", getImg6())
            .append("img7", getImg7())
            .append("img8", getImg8())
            .append("img9", getImg9())
            .append("status", getStatus())
            .toString();
    }
}
